/**
 * 
 */
package com.syncshot.androidapp.model;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * @author Stan
 *
 */
public class Picture {
    /** Used locally to tag Logs */
    @SuppressWarnings("unused")
    private static final String TAG = "Picture";
    
    private String mURL;
    private String mThumburl;
    private int mId;
    
    public String getURL() {
        return mURL;
    }
    public String getThumburl() {
        return mThumburl;
    }
    
    @JsonProperty("url")
    public void setURL(String uRL) {
        mURL = uRL;
    }
    @JsonProperty("thumburl")
    public void setThumburl(String thumburl) {
        mThumburl = thumburl;
    }
	public int getId() {
		return mId;
	}
	@JsonProperty("id")
	public void setId(int mId) {
		this.mId = mId;
	}
    
    @Override
    public boolean equals(Object o) {
        if(o instanceof Picture) {
            return ((Picture)o).getId() == mId;
        }
        return super.equals(o);
    }
    
    
    
    
}
